<%@ Page Language="C#" Description="Homepage" debug="false" trace="false"%>
<%@ Import Namespace="whole"%>
<%@ Import Namespace="System.IO"%>
<%@ Import Namespace="System.Drawing"%>
<%@ Import Namespace="System.Drawing.Imaging"%>
<%@ Import Namespace="System.Diagnostics"%>
<%@ Import Namespace="System.Xml.XPath"%>
<%@ Import Namespace="System.Xml"%>

<html>
<head>
<LINK type="text/css" rel="stylesheet" href="main.css">
<meta http-equiv="Content-Type" Content="text/html; charset=UTF-8">
<title id="title" runat=server></title>
</head>
<body>

<%

	Response.Write("Start--><br/>");

	string workingPath = Request.MapPath( ConfigurationSettings.AppSettings["imageprocessing.tmp"] );

	Process process = new Process();
	process.StartInfo.FileName = workingPath +"logo.pl";
//	process.StartInfo.Arguments = source +" "+ bg +" "+ final +" 5 " +workingPath;
	process.StartInfo.CreateNoWindow = true;

	Trace.Write("FileName:"		+process.StartInfo.FileName);
	Trace.Write("Arguments:"	+process.StartInfo.Arguments);

	process.Start();

	Response.Write("<--End<br/>");


%>

</body>
</html>